package jwj8508.swing;

import java.awt.BorderLayout;

import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

public class SwingAboutDialog extends JDialog {
	public SwingAboutDialog() {
		setModal(true);
		JPanel contentPane = new JPanel(new BorderLayout());
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));	// 여백
		setContentPane(contentPane);
		setTitle("About...");
		setSize(450, 350);	// 크기	
		setLocationRelativeTo(null);	// 가운데 출력
		setVisible(true);	// 화면에 표시
		
		
	}
}
